package com.farm.kaiping.service;

import com.farm.kaiping.entity.Building;
import com.farm.kaiping.po.BuildingPO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
/**
 * 厂房管理表(Building)表服务接口
 *
 * @author makejava
 * @since 2025-01-22 13:57:25
 */
public interface BuildingService extends IService<Building> {

	/**
	 * 分页查询
	 */
	Page<Building> getBuildingPage(Page page,BuildingPO buildingPO);
	
	/**
	 * 查询列表
	 */
	List<Building> getBuildingList(BuildingPO buildingPO);

	/**
	 * 获取一条数据
	 */
	Building getBuilding(BuildingPO buildingPO);

	/**
	 * 新增
	 */
	Integer saveBuilding(BuildingPO buildingPO);

	/**
	 * 修改
	 */
	String updateBuilding(BuildingPO buildingPO);

	/**
	 * 删除
	 */
	String removeBuilding(BuildingPO buildingPO);

}

